//
//  EZJFastProgressHUD.h
//  EZJFastProgressHUD
//
//  Created by Easy233 on 15/12/25.
//  Copyright © 2015年 wallen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SVProgressHUD.h"

typedef NS_ENUM(NSUInteger, EZJProgressHUDMaskType) {
    EZJProgressHUDMaskTypeNone = 1,
    EZJProgressHUDMaskTypeClear,
    EZJProgressHUDMaskTypeBlack,
    EZJProgressHUDMaskTypeGradient
};

@interface EZJFastProgressHUD : NSObject

+ (void)show;
+ (void)showWithMaskType:(EZJProgressHUDMaskType)maskType;
+ (void)showWithStatus:(NSString*)status;
+ (void)showWithStatus:(NSString*)status maskType:(EZJProgressHUDMaskType)maskType;

// stops the activity indicator, shows a glyph + status, and dismisses HUD a little bit later
+ (void)showInfoWithStatus:(NSString *)string;
+ (void)showInfoWithStatus:(NSString *)string maskType:(EZJProgressHUDMaskType)maskType;

+ (void)showSuccessWithStatus:(NSString*)string;
+ (void)showSuccessWithStatus:(NSString*)string maskType:(EZJProgressHUDMaskType)maskType;

+ (void)showErrorWithStatus:(NSString *)string;
+ (void)showErrorWithStatus:(NSString *)string maskType:(EZJProgressHUDMaskType)maskType;

+ (void)dissmiss;

@end
